package com.jingwu.example.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author jingwu
 * @since 2021/2/1
 */
@Data
@Accessors(chain = true)
@TableName("book")
public class BookDO {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private Integer authorId;
    private String description;
    private Integer pageCount;
    private Date publishDate;
}
